package com.abcgroup.hyppo.jdbc;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.DriverManager;
import java.util.Properties;

public class ExtendedCP implements IConnectionProvider {

    protected Properties properties;

    public ExtendedCP(Properties props) {
        properties = new Properties(props);
    }

    public Connection getConnection() throws SQLException {
        return DriverManager.getConnection(properties.getProperty("jdbc.connect"), properties);
    }
}
